import request from '../utils/request'

export function globalRuleGet(data) {
  return request({
    url: '/api/v1/globalRuleGet',
    method: 'post',
    data: data
  });
}

export function globalRuleEdit(rules) {
  return request({
    url: '/api/v1/globalRuleEdit',
    method: 'post',
    data: rules
  });
}

export function tagList(params) {
  return request({
    url: '/api/v1/tagList',
    method: 'post',
    data: params
  });
}
export function tagEdit(params) {
  return request({
    url: '/api/v1/tagEdit',
    method: 'post',
    data: params
  });
}

export function tagDel(params) {
  return request({
    url: '/api/v1/tagDel',
    method: 'post',
    data: params
  });
}
export function tagListManange(params) {
  return request({
    url: '/api/v1/certExampleList',
    method: 'post',
    data: params
  });
}
export function certExampleDel(params) {
  return request({
    url: '/api/v1/certExampleDel',
    method: 'post',
    data: params
  });
}


export function certExampleEdit(params) {
  return request({
    url: '/api/v1/certExampleEdit',
    method: 'post',
    data: params
  });
}


